import math

def calculate_factorial(n):
  return math.factorial(n)

if __name__ == "__main__":
  n = int(input("请输入一个非负整数n: "))
  result = calculate_factorial(n)
  print(f"{n}的阶乘是: {result}")
